package com.daijia.service.account;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import com.daijia.dao.account.AccountDetailDao;

/**
 * Account business
 * @author SHI
 *
 */
//Spring Bean的标识.
@Component
//默认将类中的所有函数纳入事务管理.
@Transactional
public class AccountBusiness {

	private static Logger logger = LoggerFactory.getLogger(AccountManager.class);
	
	private AccountDetailDao accDetailDao;

	@Autowired
	public AccountDetailDao getAccDetailDao() {
		return accDetailDao;
	}

	@Autowired
	public void setAccDetailDao(AccountDetailDao accDetailDao) {
		this.accDetailDao = accDetailDao;
	}
	
	
}
